package com.flyduck.vueshop.system.admin.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.flyduck.vueshop.system.entity.SysRole;
import com.flyduck.vueshop.system.entity.SysUser;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * SysRoleDetailRespVO
 * </p>
 *
 * @author flyduck
 * @since 2024-06-03
 */
@Data
public class AdminUserDetailsRespVO extends SysUser implements Serializable {

    @JsonIgnore
    private String password;

    private List<SysRoleVO> roles;

    @Data
    public static class SysRoleVO extends SysRole implements Serializable {

    }
}
